import request from '@/utils/request'

export function getconnectionlist (params) {
  return request({
    url: '/admin/get_connection_log_list',
    method: 'get',
    params: params
  })
}
export function doaddconnectioninfo (params) {
  return request({
    url: '/admin/add_connection_log_info',
    method: 'post',
    params: params
  })
}
export function updateconnectioninfo (params) {
  return request({
    url: '/admin/update_connection_log_info',
    method: 'post',
    params: params
  })
}
export function gettiktodata (params) {
  return request({
    url: '/admin/get_dou_yin_data',
    method: 'get',
    params: params
  })
}
export function doaddtiktodata (params) {
  return request({
    url: '/admin/add_dou_yin_data',
    method: 'post',
    params: params
  })
}
export function updatetiktodata (params) {
  return request({
    url: '/admin/update_dou_yin_data',
    method: 'post',
    params: params
  })
}
export function gettaogiftslist (params) {
  return request({
    url: '/admin/get_gold_info_list',
    method: 'get',
    params: params
  })
}
export function doaddtaogifts (params) {
  return request({
    url: '/admin/add_gold_medal_data',
    method: 'post',
    params: params
  })
}
export function updatetaogifts (params) {
  return request({
    url: '/admin/update_gold_medal_data',
    method: 'post',
    params: params
  })
}
